﻿#include<stdio.h>
#include<stdlib.h>
#include"link.h"

int main()
{
	struct Node header;
	List Header = creatList("header", NULL);
	Insert("a", Header, Header);
	Insert("b", Header, Find("a",Header));
	Insert("c", Header, Find("b", Header));
	Insert("d", Header, Find("c", Header));
	InsertSub("last", Header, 4);
	List Temp = Header->Next;
	while (Temp != NULL)
	{
		printf("%s",Temp->Element);
		if (Temp != NULL)
		{
			Temp = Temp->Next;
		}
	}
}
